export default {
  state: {
    isShowLoading: false
  },
  mutations: {
    SET_LOADING_STATE(state, isShow) {
      state.isShowLoading = isShow
    }
  },
  actions: {
    showLoading({ commit }) {
      commit('SET_LOADING_STATE',true)
    },
    hideLoading({commit}){
      commit('SET_LOADING_STATE',false)
    }
  }
}
